package cn.com.rexen.rplus.sa.model;

/**
 * 操作vo.
 *
 * @author zhanghai
 */
@SuppressWarnings("serial")
public class OperateVO extends BaseVO {

    /**
     * 主键唯一id.
     */
    private String id;


    /**
     * 是否启用.
     */
    private boolean enabled;
    /**
     * 操作名称.
     */
    private String name;

    /**
     * 默认构造.
     */
    public OperateVO() {
        super();
    }

    /**
     * 操作VO构造方法.
     *
     * @param id      唯一id.
     * @param enabled 是否 启用.
     * @param name    操作名称.
     */
    public OperateVO(String id, boolean enabled, String name) {
        super();
        this.id = id;
        this.enabled = enabled;
        this.name = name;
    }

    /**
     * 操作VO构造方法.
     *
     * @param id   唯一id.
     * @param name 操作名称.
     */
    public OperateVO(String id, String name) {
        super();
        this.id = id;
        this.name = name;
    }

    /**
     * 返回id.
     *
     * @return the id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置id.
     *
     * @param id the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 返回enabled.
     *
     * @return the enabled
     */
    public boolean isEnabled() {
        return enabled;
    }

    /**
     * 设置enabled.
     *
     * @param enabled the enabled to set
     */
    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    /**
     * 返回name.
     *
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置name.
     *
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
}
